//
// Created by wangwanlong on 2024/6/26.
//

#include "graph.h"
#include "macros.h"
#include "randomize.h"
#include "context.h"
#include "graph_io.h"
#include "partition/partitioner.h"

using namespace mcgpp;

int main(){
//  std::string file = "..\\instance\\sc-nasasrb.graph";
  std::string file = "..\\instance\\test.graph";
  mcgpp::ds::GenericGraph graph(mcgpp::io::createGraphFromFile(file,2));

//  graph.printGraph();
//  mcgpp::Context::instance().seed_partition_file = "..\\MQI_BKV\\sc-nasasrb\\sc-nasasrb_result_0.smat";
  mcgpp::Context::instance().seed = 2324;
  mcgpp::Context::instance().seed_partition_file = "..\\instance\\test_result_0.smat";

  mcgpp::Context::instance().coarsen_limit = 2;
  mcgpp::Randomize::instance().setSeed(mcgpp::Context::instance().seed);

  //check 每个点的权重计算是否有问题
  graph.check();
}
